package yogaModel

import "time"

type ReqVenue struct {
	Id                 int       `json:"id" `
	Name               string    `json:"name" binding:"required" required_err:"参数缺失【name】"`
	Contacts           string    `json:"contacts" binding:"required" required_err:"参数缺失【contacts】"`
	Pic                string    `json:"pic" binding:"required" required_err:"参数缺失【pic】"`
	StartTime          string    `json:"start_time" binding:"required" required_err:"参数缺失【start_time】"`
	EndTime            string    `json:"end_time" binding:"required" required_err:"参数缺失【end_time】"`
	BusinessDate       string    `json:"business_date" binding:"required" required_err:"参数缺失【business_date】"`
	ContactInformation string    `json:"contact_information" binding:"required" required_err:"参数缺失【contact_information】"`
	Province           int       `json:"province" binding:"required" required_err:"参数缺失【province】"`
	City               int       `json:"city" binding:"required" required_err:"参数缺失【city】"`
	Area               int       `json:"area" binding:"required" required_err:"参数缺失【area】"`
	Address            string    `json:"address" binding:"required" required_err:"参数缺失【address】"`
	Lat                string    `json:"lat" binding:"required" required_err:"参数缺失【lat】"`
	Lng                string    `json:"lng" binding:"required" required_err:"参数缺失【lng】"`
	Tag                string    `json:"tag" binding:"required" required_err:"参数缺失【tag】"`
	Acid               int       `json:"acid"`
	SubMchId           string    `json:"sub_mch_id" binding:"required" required_err:"参数缺失【sub_mch_id】"`
	Weight             int       `json:"weight"`
	IsBusiness         int       `xorm:"-" json:"is_business"`
	DeletedAt          time.Time `xorm:"deleted" json:"-" form:"deleted_at" mapstructure:"deleted_at"`
}
